package com.example.bgImageSear.user.mapper;

import com.example.bgImageSear.user.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface UserMapper {
    UserEntity getUserByPassword(@Param("user") UserEntity userEntity);

    List<UserEntity> getUserList();


    long save(UserEntity userEntity);

    long del(Long[] ids);

    long update(UserEntity userEntity);

}
